package a.e.b.c;

public abstract class h
  implements cb
{
  private bb a;
  public static int b;
  
  public cb c(String paramString1, String paramString2)
  {
    return a(null, paramString1, null, paramString2);
  }
  
  public cb a(String paramString1, String paramString2, String paramString3)
  {
    boolean bool = a.b;
    if (!bool) {
      if (paramString3 == null)
      {
        if (bool) {
          break label46;
        }
        if (paramString1 != null)
        {
          if (bool) {
            break label46;
          }
          if (paramString1.length() > 0) {
            throw new IllegalArgumentException("Trying to declare null namespace with a prefix");
          }
        }
      }
    }
    if (paramString1 == null) {
      label46:
      return a(paramString2, paramString3);
    }
    bb localbb = e();
    localbb.a();
    if (!bool)
    {
      b(paramString1, paramString2, paramString3);
      if (paramString3 != null) {
        localbb.b(paramString3, paramString1);
      }
    }
    return this;
  }
  
  public cb a(String paramString1, String paramString2)
  {
    boolean bool2 = a.b;
    boolean bool1 = a.a;
    bb localbb = e();
    localbb.a();
    if (!bool2) {
      if (paramString2 == null)
      {
        if (bool2) {
          break label107;
        }
        b(null, paramString1, "");
        if (!bool1) {
          return this;
        }
      }
    }
    String str = localbb.a(paramString2);
    if ((bool2) || (str == null))
    {
      str = "";
      if (bool2) {
        break label107;
      }
      b(str, paramString1, paramString2);
      localbb.b(paramString2, str);
      if (!bool1) {}
    }
    else
    {
      b(str, paramString1, paramString2);
    }
    label107:
    return this;
  }
  
  protected abstract void b(String paramString1, String paramString2, String paramString3);
  
  public cb a(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    boolean bool = a.b;
    if (!bool)
    {
      b(paramString1, paramString2, paramString3, paramString4);
      if ((paramString1 != null) && ((bool) || ((paramString1 != "xmlns") && (paramString1 != "xml"))))
      {
        bb localbb = e();
        localbb.a(paramString3, paramString1);
      }
    }
    return this;
  }
  
  protected abstract void b(String paramString1, String paramString2, String paramString3, String paramString4);
  
  public cb b()
  {
    f();
    bb localbb = e();
    localbb.b();
    return this;
  }
  
  protected abstract void f();
  
  public bb e()
  {
    if (!a.b) {
      if (this.a == null) {
        this.a = g();
      }
    }
    return this.a;
  }
  
  protected abstract bb g();
  
  public cb a(q paramq)
  {
    return a(null, paramq.a(), paramq.b(), paramq.c());
  }
  
  public cb a(String paramString, double paramDouble)
  {
    return c(paramString, String.valueOf(paramDouble));
  }
  
  public cb a(String paramString, long paramLong)
  {
    return c(paramString, String.valueOf(paramLong));
  }
  
  public cb a(String paramString, boolean paramBoolean)
  {
    return c(paramString, String.valueOf(paramBoolean));
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.e.b.c.h
 * JD-Core Version:    0.7.0.1
 */